package com.iot.service;

import com.iot.model.dto.DeviceDto;
import com.iot.model.entity.DeviceEntity;
import com.iot.model.query.DeviceQuery;
import com.iot.commons.ResponseResult;

/**
 * DeviceService
 * @author: dh
 * @date: 2024-04-20 23:39:54
 */
public interface DeviceService {

    ResponseResult getList(DeviceQuery device);

    ResponseResult edit(DeviceDto device);

    ResponseResult bind(DeviceDto device);
    ResponseResult unbind();

    ResponseResult getById(DeviceQuery device);

    DeviceEntity getByImei(String imei);

    DeviceEntity getByAuthId(Long authId);
}
